package com.cy.service;

import com.cy.bean.UserList;
import com.cy.dao.AddUserDao;
import com.cy.dao.AddUserDaoImpl;

public class AddUserServiceImpl implements AddUserService {

	AddUserDao addUserDao = new AddUserDaoImpl();

	@Override
	public boolean findUsername(String username) {
		return addUserDao.findUsername(username);
	}

	@Override
	public boolean addUser(UserList user) {
		return addUserDao.addUser(user);
	}

}
